package routers

import (
	"doc-manage/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/login", &controllers.UserController{}, "post:Login") //登录api

	beego.Router("/list", &controllers.UserController{}, "post:List") //权限列表

	beego.Router("/detail", &controllers.UserController{}, "post:Detail") //用户详情

	beego.Router("/data", &controllers.UserController{}, "post:Dts") //联查
}
